// +---------------------
// | 客户信息接口
// +---------------------
import { request } from "@/common/request";
/**
 * 获取客户信息 (非系统接口-对应当前项目业务逻辑中的用户信息)
 * @param {*} data 
 * @returns 
 */
export function getCustomerById(customerId: string) {
  return request({
    url: `/kingon-customer/information/customerInformationId/${customerId}`,
    method: "get",
  });
}

/**
 * 更新客户人脸头像信息
 */
export function updateHeadPortrait(data: any) {
  return request({
    url: `/kingon-customer/information/updateHeadPortrait`,
    method: "post",
    data,
  });
}

